package cn.huiyunche.base.service.query;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @FileName: cn.huiyunche.driver.service.query
 * @Description: 运单废弃日志查询条件
 * @author: Aaron
 * @date: 2017/3/30 上午11:25
 */
public class DWaybillAbandonedLogConditions {

    //TMS订单号
    private String orderCode;

    //废弃原因编码
    private Integer abandonedCode;

    //废弃原因
    private String abandonedReason;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    public String getOrderCode() {
        return orderCode;
    }

    public DWaybillAbandonedLogConditions setOrderCode(String orderCode) {
        this.orderCode = orderCode;
        return this;
    }

    public Integer getAbandonedCode() {
        return abandonedCode;
    }

    public DWaybillAbandonedLogConditions setAbandonedCode(Integer abandonedCode) {
        this.abandonedCode = abandonedCode;
        return this;
    }

    public String getAbandonedReason() {
        return abandonedReason;
    }

    public DWaybillAbandonedLogConditions setAbandonedReason(String abandonedReason) {
        this.abandonedReason = abandonedReason;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public DWaybillAbandonedLogConditions setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    @Override
    public String toString() {
        return "DWaybillAbandonedLogConditions{" +
                "orderCode='" + orderCode + '\'' +
                ", abandonedCode='" + abandonedCode + '\'' +
                ", abandonedReason='" + abandonedReason + '\'' +
                ", gmtCreate=" + gmtCreate +
                '}';
    }
}
